/*eslint-disable */ 
import request from "@/utils/request";

export function cancelPractice(id) {
  return request({
    url: `/practice/cancelPractice?id=${id}`,
    method: "post",
  });
}
export function practiceList(data) {
    return request({
      url: `practice/list?pageNumber=${data.pageNumber}&pagesize=${data.pagesize}`,
      method: "get",
    });
  }
  export function deletePractices(id) {
    return request({
      url: `/practice/deletePractice?id=${id}`,
      method: "post",
     
    });
  }
  export function updatePractice(data) {
    return request({
      url: `/practice/updatePractice`,
      method: "post",
      data:data
    });
  }
  export function getInfo(id) {
    return request({
      url: `/practice/getInfo?id=${id}`,
      method: "get",
     
    });
  }